package com.tul.exercise.base.clazz.base.eg1;

/**
 * @author tul
 * 《java编程思想》 14章 示例1
 *  继承基类
 */
public class Square extends Shape{

    public Square() {
        this.name = "Square";
    }
    @Override
    public String toString() {
        return name;
    }
}
